package com.clqteam.serviceimpl;

import com.clqteam.dao.removeZsDao;
import com.clqteam.daoimpl.removeZsDaoImpl;
import com.clqteam.service.removeZsService;

public class removeZsServiceImpl implements removeZsService{
	removeZsDao rzd = new removeZsDaoImpl();
			

	@Override
	public int removeZsByZspid(int zsId) {
		return rzd.removeZsByZspid(zsId);
	}

	@Override
	public int updateShByZspid(int zspId, int zspAmount) {
		return rzd.updateShByZspid(zspId, zspAmount);
	}

	@Override
	public int getProductCountByZspid(int zspId) {
		return rzd.getProductCountByZspid(zspId);
	}

	@Override
	public void setdirInfo(String drInfo, String drTime, int eId, String eName) {
		rzd.setdirInfo(drInfo, drTime, eId, eName);
		
	}

	@Override
	public int getOidByPid(int zspId) {
		return rzd.getOidByPid(zspId);
	}

	@Override
	public void updataOrder(int oId, double oMoney) {
		rzd.updataOrder(oId, oMoney);
		
	}

	@Override
	public void updataOrderInfo(int oId, int pAmount) {
		rzd.updataOrderInfo(oId, pAmount);
		
	}

	@Override
	public double getPcostfromZs(int zsId) {
		return rzd.getPcostfromZs(zsId);
	}

}
